Rustamshry commited on
Commit
0a49f0f
·
verified ·
1 Parent(s): 3a165de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -33,7 +33,7 @@ def generate_response(user_input, chat_history):
33
 
34
  output_tokens = model.generate(
35
  **inputs,
36
- max_new_tokens=1024,
37
  temperature=0.7,
38
  top_p=0.8,
39
  top_k=20,
@@ -62,7 +62,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="yellow", secondary_hue="slate")
62
  📚 Stock-Direction-6k
63
  </h1>
64
  <p style="color: #FDE047; font-size: 1.05em; margin-top: -10px;">
65
- Stock Price prediction
66
  </p>
67
  </div>
68
  """)
@@ -97,7 +97,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="yellow", secondary_hue="slate")
97
 
98
  gr.HTML("""
99
  <div style="text-align: center; margin-top: 25px; color: #6B7280; font-size: 0.9em;">
100
- Powered by <b>Qwen3-1.7B + Nizami-1.7B</b> | Built with ❤️ using Gradio
101
  </div>
102
  """)
103
 
 
33
 
34
  output_tokens = model.generate(
35
  **inputs,
36
+ max_new_tokens=300,
37
  temperature=0.7,
38
  top_p=0.8,
39
  top_k=20,
 
62
  📚 Stock-Direction-6k
63
  </h1>
64
  <p style="color: #FDE047; font-size: 1.05em; margin-top: -10px;">
65
+ Stock Price Prediction
66
  </p>
67
  </div>
68
  """)
 
97
 
98
  gr.HTML("""
99
  <div style="text-align: center; margin-top: 25px; color: #6B7280; font-size: 0.9em;">
100
+ Powered by <b>Qwen3-1.7B + StockDirection-6k</b> | Built with ❤️ using Gradio
101
  </div>
102
  """)
103