kirankunapuli commited on
Commit
dd3cf39
β€’
1 Parent(s): c0ddfd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -3
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="text",
54
- outputs="text",
 
 
 
 
 
 
 
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()