Spaces:
Sleeping
Sleeping
freQuensy23
commited on
Commit
•
3ca9013
1
Parent(s):
49f477f
IMP add info
Browse files
app.py
CHANGED
@@ -28,13 +28,25 @@ async def handle(system_input: str, user_input: str):
|
|
28 |
with gr.Blocks() as demo:
|
29 |
system_input = gr.Textbox(label='System Input', value='You are AI assistant', lines=2)
|
30 |
with gr.Row():
|
31 |
-
|
32 |
-
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
with gr.Row():
|
35 |
-
|
36 |
-
|
37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
|
39 |
user_input = gr.Textbox(label='User Input', lines=2, value='Calculate expression: 7-3=')
|
40 |
gen_button = gr.Button('Generate')
|
|
|
28 |
with gr.Blocks() as demo:
|
29 |
system_input = gr.Textbox(label='System Input', value='You are AI assistant', lines=2)
|
30 |
with gr.Row():
|
31 |
+
with gr.Column():
|
32 |
+
gpt = gr.Textbox(label='gpt-2', lines=4, interactive=False)
|
33 |
+
gr.Text("OpenAI\n14 February 2019")
|
34 |
+
with gr.Column():
|
35 |
+
t5 = gr.Textbox(label='t5', lines=4, interactive=False)
|
36 |
+
gr.Text("Google\n12 Dec 2019")
|
37 |
+
with gr.Column():
|
38 |
+
bloom = gr.Textbox(label='bloom [GPU]', lines=4, interactive=False)
|
39 |
+
gr.Text('Big Science\n11 Jul 2022')
|
40 |
with gr.Row():
|
41 |
+
with gr.Column():
|
42 |
+
llama2 = gr.Textbox(label='llama-2', lines=4, interactive=False)
|
43 |
+
gr.Text("MetaAI\n18 Jul 2023")
|
44 |
+
with gr.Column():
|
45 |
+
mistral = gr.Textbox(label='mistral-v01', lines=4, interactive=False)
|
46 |
+
gr.Text("MistralAI\n20 Sep 2023")
|
47 |
+
with gr.Column():
|
48 |
+
llama3 = gr.Textbox(label='llama-3.1', lines=4, interactive=False)
|
49 |
+
gr.Text('MetaAI\n18 Jul 2024')
|
50 |
|
51 |
user_input = gr.Textbox(label='User Input', lines=2, value='Calculate expression: 7-3=')
|
52 |
gen_button = gr.Button('Generate')
|