Skip to content

Use variables [generate_params and server_name] in generate.py#393

Open
pandermatt wants to merge 2 commits into
tloen:mainfrom
pandermatt:patch-1
Open

Use variables [generate_params and server_name] in generate.py#393
pandermatt wants to merge 2 commits into
tloen:mainfrom
pandermatt:patch-1

Conversation

@pandermatt

@pandermatt pandermatt commented Apr 26, 2023

Copy link
Copy Markdown

It looks like generate_params are duplicated, so i used the variable

image

It looks like `generate_params` are duplicated, so i used the variable
@pandermatt pandermatt changed the title Fix generate.py Use generate_params in generate.py Apr 26, 2023
@pandermatt pandermatt changed the title Use generate_params in generate.py Use variables [generate_params and server_name] in generate.py Apr 26, 2023
Comment thread generate.py
title="🦙🌲 Alpaca-LoRA",
description="Alpaca-LoRA is a 7B-parameter LLaMA model finetuned to follow instructions. It is trained on the [Stanford Alpaca](https://github.com/tatsu-lab/stanford_alpaca) dataset and makes use of the Huggingface LLaMA implementation. For more information, please visit [the project's website](https://github.com/tloen/alpaca-lora).", # noqa: E501
).queue().launch(server_name="0.0.0.0", share=share_gradio)
).queue().launch(server_name=server_name, share=share_gradio)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
we can use the variable from the parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants