Mudditha commited on
Commit
5199e9b
·
verified ·
1 Parent(s): 1a5ecc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -37,8 +37,6 @@ don't include '.com' in outputs and give different names.
37
 
38
  def print_output(input):
39
 
40
- return '\n1. GreenGrocer\n2. VeggieVault\n3. PlantPick\n4. HarvestHub\n5. VeggieVault\n6. FreshFeast\n7. VeggieVault\n8. GreenGrocer\n9. HarvestHub\n10. FreshFeast'
41
-
42
  inputs = tokenizer(
43
  [
44
  inf_prompt_1.format(
@@ -67,16 +65,14 @@ def print_output(input):
67
  dom_names.append(name.split('.')[1])
68
 
69
  s = '\n'.join(dom_names)
70
-
71
- print(s)
72
  return s
73
 
74
 
75
  # Streamlit app UI
76
- st.title("Echo Input Example")
77
 
78
  # Text box for user input
79
- user_input = st.text_input("Type something here:")
80
 
81
  # Button to submit input
82
  if st.button("Submit"):
 
37
 
38
  def print_output(input):
39
 
 
 
40
  inputs = tokenizer(
41
  [
42
  inf_prompt_1.format(
 
65
  dom_names.append(name.split('.')[1])
66
 
67
  s = '\n'.join(dom_names)
 
 
68
  return s
69
 
70
 
71
  # Streamlit app UI
72
+ st.title("AI Based Domain Names Suggestion")
73
 
74
  # Text box for user input
75
+ user_input = st.text_input("Type your idea here:")
76
 
77
  # Button to submit input
78
  if st.button("Submit"):