Spaces:
Running
Running
zRzRzRzRzRzRzR
commited on
Commit
·
445847a
1
Parent(s):
b5f6dfb
update req1
Browse files- app.py +3 -3
- requirements.txt +0 -1
app.py
CHANGED
@@ -163,7 +163,7 @@ with demo:
|
|
163 |
raw_history = gr.State([])
|
164 |
|
165 |
with gr.Row():
|
166 |
-
with gr.Column(scale=
|
167 |
chatbox = gr.Chatbot(
|
168 |
label="Chat",
|
169 |
type="messages",
|
@@ -191,7 +191,7 @@ with demo:
|
|
191 |
step=0.01,
|
192 |
label="Temperature"
|
193 |
)
|
194 |
-
sys = gr.Textbox(label="System Prompt", lines=
|
195 |
|
196 |
send.click(
|
197 |
chat,
|
@@ -209,4 +209,4 @@ with demo:
|
|
209 |
)
|
210 |
|
211 |
if __name__ == "__main__":
|
212 |
-
demo.launch(
|
|
|
163 |
raw_history = gr.State([])
|
164 |
|
165 |
with gr.Row():
|
166 |
+
with gr.Column(scale=7):
|
167 |
chatbox = gr.Chatbot(
|
168 |
label="Chat",
|
169 |
type="messages",
|
|
|
191 |
step=0.01,
|
192 |
label="Temperature"
|
193 |
)
|
194 |
+
sys = gr.Textbox(label="System Prompt", lines=6)
|
195 |
|
196 |
send.click(
|
197 |
chat,
|
|
|
209 |
)
|
210 |
|
211 |
if __name__ == "__main__":
|
212 |
+
demo.launch()
|
requirements.txt
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
gradio==5.25.0
|
2 |
spaces==0.39.0
|
3 |
-
torch==2.5.1
|
4 |
openai==1.97.1
|
|
|
1 |
gradio==5.25.0
|
2 |
spaces==0.39.0
|
|
|
3 |
openai==1.97.1
|