Spaces:
Sleeping
Sleeping
Solarum Asteridion
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ class OpenAILLMHandler:
|
|
| 49 |
model=self.model,
|
| 50 |
messages=[{"role": "user", "content": prompt}],
|
| 51 |
max_tokens=max_length,
|
| 52 |
-
temperature=1
|
| 53 |
)
|
| 54 |
|
| 55 |
response_text = response.choices[0].message.content.strip()
|
|
@@ -204,7 +204,6 @@ with gr.Blocks(css=custom_css) as demo:
|
|
| 204 |
chatbot = gr.Chatbot(
|
| 205 |
label="HUMANCHAT",
|
| 206 |
elem_id="chatbot",
|
| 207 |
-
height=600
|
| 208 |
)
|
| 209 |
with gr.Column(scale=1):
|
| 210 |
with gr.Row():
|
|
|
|
| 49 |
model=self.model,
|
| 50 |
messages=[{"role": "user", "content": prompt}],
|
| 51 |
max_tokens=max_length,
|
| 52 |
+
temperature=1,
|
| 53 |
)
|
| 54 |
|
| 55 |
response_text = response.choices[0].message.content.strip()
|
|
|
|
| 204 |
chatbot = gr.Chatbot(
|
| 205 |
label="HUMANCHAT",
|
| 206 |
elem_id="chatbot",
|
|
|
|
| 207 |
)
|
| 208 |
with gr.Column(scale=1):
|
| 209 |
with gr.Row():
|