Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ def greet(Amino_Acid_Sequence):
|
|
109 |
fam_asc = prot_mappings['id2fam_asc'][str(idx)]
|
110 |
fam_id = prot_mappings['fam_asc2fam_id'][fam_asc]
|
111 |
gc.collect()
|
112 |
-
return f"Input is {Amino_Acid_Sequence}.\nProcessed input is:\n{processed_seq}\n\nModel makes prediction
|
113 |
|
114 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
115 |
iface.launch()
|
|
|
109 |
fam_asc = prot_mappings['id2fam_asc'][str(idx)]
|
110 |
fam_id = prot_mappings['fam_asc2fam_id'][fam_asc]
|
111 |
gc.collect()
|
112 |
+
return f"Input is {Amino_Acid_Sequence}.\nProcessed input is:\n{processed_seq}\n\nModel makes prediction which maps to:\nFamily Accession={fam_asc} and ID={fam_id}\n\nRaw Prediction:\n{raw_prediction}\n"
|
113 |
|
114 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
115 |
iface.launch()
|