Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import gradio as gr
|
| 3 |
+
from llm import response
|
| 4 |
+
|
| 5 |
+
with gr.Blocks() as llm:
|
| 6 |
+
slider = gr.Slider(10, 100, render=False)
|
| 7 |
+
chatbot = gr.ChatInterface(
|
| 8 |
+
fn=response,
|
| 9 |
+
multimodal=True,
|
| 10 |
+
title="MultiModel LLM for Testcase generation",
|
| 11 |
+
cache_examples=True,
|
| 12 |
+
)
|
| 13 |
+
|
| 14 |
+
llm.launch(debug=True)
|