Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
| 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
|
| 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 +
|
| 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 |
|