Update app.py
Browse files
app.py
CHANGED
|
@@ -76,7 +76,7 @@ examples = [
|
|
| 76 |
starling_bot = StarlingBot()
|
| 77 |
|
| 78 |
def gradio_starling(user_message, assistant_message, mode, do_sample, temperature, max_new_tokens, top_p, repetition_penalty):
|
| 79 |
-
response = starling_bot.predict(user_message, assistant_message,
|
| 80 |
return response
|
| 81 |
|
| 82 |
with gr.Blocks(theme="ParityError/Anime") as demo:
|
|
|
|
| 76 |
starling_bot = StarlingBot()
|
| 77 |
|
| 78 |
def gradio_starling(user_message, assistant_message, mode, do_sample, temperature, max_new_tokens, top_p, repetition_penalty):
|
| 79 |
+
response = starling_bot.predict(user_message, assistant_message, mode, do_sample, temperature, max_new_tokens, top_p, repetition_penalty)
|
| 80 |
return response
|
| 81 |
|
| 82 |
with gr.Blocks(theme="ParityError/Anime") as demo:
|