kirankunapuli
commited on
Commit
β’
dd3cf39
1
Parent(s):
c0ddfd5
Update app.py
Browse files
app.py
CHANGED
@@ -50,9 +50,16 @@ def get_response(input_text: str) -> str:
|
|
50 |
|
51 |
interface = gr.Interface(
|
52 |
fn=get_response,
|
53 |
-
inputs=
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
title="Gemma Hinglish Model Inference",
|
|
|
56 |
)
|
57 |
-
|
58 |
interface.launch()
|
|
|
50 |
|
51 |
interface = gr.Interface(
|
52 |
fn=get_response,
|
53 |
+
inputs=[
|
54 |
+
gr.Textbox(
|
55 |
+
label="Enter your input text here",
|
56 |
+
value="Germany ka capital city kya hai?",
|
57 |
+
placeholder="Input to LLM",
|
58 |
+
lines=5,
|
59 |
+
)
|
60 |
+
],
|
61 |
+
outputs=[gr.Textbox(label="LLM Output", lines=5)],
|
62 |
title="Gemma Hinglish Model Inference",
|
63 |
+
description="π€ + π¦₯ = π₯ This model is based on google/gemma-2b and has been LoRA fine-tuned on English & Hindi language instruction datasets",
|
64 |
)
|
|
|
65 |
interface.launch()
|